var arr:Array<number> = [1,2,3];
var obj:object = {name:"cheng",age:185};
var list:Array<object> = [{name:"cheng"}];
console.log(typeof arr);//object

/* 声明一个有返回值的函数 */
function go():string{
    return "hello world";
}
/* 没有返回值的函数 */
function show():void{
    console.log("hello world");
    // return 10
}
show()

